package com.omg.server.common;

public class Constants {
	
	public final static String LOG4JCONFIGPATH = "log4j.config.file.path";
	public final static String DEFAULT_LOG4JCONFIGPATH = "/META-INF/config/log/log4j.xml";
	public final static String REQUSTQUEUETHEADSIZE = "requestqueue.thead.size";
	public final static String MESSAGEQUEUETHEADSIZE = "messagequeue.thead.size";
	public final static String REQUESTTASKFETCHSIZE = "requesttask.fetch.size";
	public final static String REQUESTSIDECODE = "requestside.code";
	public final static String REQUESTSIDENAME = "requestside.name";
	public final static String REQUESTSIDEVERSION = "requestside.version";
	public final static String REQUESTFAILCOUNT = "request.fail.count";
	//http请求连接超时
	public final static String CONNECTIONTIMEOUT = "request.connection.timeout";
	//http连接后读取超时
	public final static String REQUESTREADTIMEOUT = "request.read.timeout";
	public final static String POSTBODYNAME = "post.reqparam.name";
	public final static String SUCCESS = "0";
	public final static String FAIL = "-1";
	
	 /** 邮件发送用户 */
    public static final String MAIL_CONFIG_USERNAME = "mail.username";
    /** 邮件发送密码 */
    public static final String MAIL_CONFIG_PASSWORD = "mail.password";
    /** 邮件发送是否需要验证 */
    public static final String MAIL_CONFIG_ISAUTH = "mail.smtp.auth";
    /** 邮件发送服务器 */
    public static final String MAIL_CONFIG_RECEIVE_SERVER = "mail.host";
    /** 邮件端口 */
    public static final String MAIL_CONFIG_PORT = "mail.port";
    
    /** 短信发送方 */
    public static final String SMS_SENDER = "sms.sender";
    /** 消息发起方编码 */
    public static final String SMS_SOURCECODE = "sms.sourcecode";
    /**  产品编码 */
    public static final String SMS_PRODUCTCODE = "sms.productcode";
    

}
